package com.yy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 新增系统用户
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新增系统用户")
public class AdminUserDTO implements Serializable {
    @ApiModelProperty(value="id")
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "权限:1全部权限 2部分权限")
    private Integer permissions;
    @ApiModelProperty(value = "密码")
    private String password;
}
